package com.zk.service.user.controller;

import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.zk.service.user.api.IUserService;

@RestController
public class UserController 
{

	@Reference
	private IUserService userService;

	@GetMapping("test")
	public String testRestful() {
		return "restful test:"+userService.test();
	}

}
